package com.zqc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zqc.entity.SysUser;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zqc
 * @since 2023-03-07
 */
public interface SysUserService extends IService<SysUser> {

    SysUser getUserByUsername(String username);

    String getUserAuthority(Long id);

    void clearUserAuthorityInfoByUsername(String username);

    void clearUserAuthorityInfoByRoleId(Long roleId);

    void clearUserAuthorityInfoByMenuId(Long menuId);

}
